package org.ezplatform.office.forum.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.UniqueConstraint;

import org.ezplatform.core.annotation.MetaData;
import org.ezplatform.core.entity.BaseCorpEntity;

@MetaData(value = "敏感词设置")
@Entity(name = "ForumSensitive")
@Table(name = "oa_forum_sensitive", uniqueConstraints = { @UniqueConstraint(columnNames = "id") })
public class ForumSensitive extends BaseCorpEntity {
	private static final long serialVersionUID = -8076489102318759297L;
	
	/**
     * id
     */
    @MetaData(value = "id")
    @Column(name = "id", length = 32)
    private String id;
    
    /**
     * 敏感词
     */
    @MetaData(value = "敏感词")
    @Column(name = "sensitive_name", length = 50)
    private String sensitiveName;
    
    /**
     * 状态:1-启用;2-禁用
     */
    @MetaData(value = "状态")
    @Column(name = "status")
    private String status;
    
    /**
     * 排序
     */
    @MetaData(value = "排序")
    @Column(name = "sort_no")
    private int sortNo;
	
    /**
     * 描述
     */
    @MetaData(value = "描述")
    @Column(name = "description", length = 500)
    private String description;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getSensitiveName() {
		return sensitiveName;
	}

	public void setSensitiveName(String sensitiveName) {
		this.sensitiveName = sensitiveName;
	}

	public int getSortNo() {
		return sortNo;
	}

	public void setSortNo(int sortNo) {
		this.sortNo = sortNo;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}
    
    

}
